﻿using System;
using System.Collections.Generic;
using System.Text;

namespace KhtApi.Model
{
    /// <summary>
    /// 库存台账
    /// </summary>
    public class InventoryBook
    {
        public string FormId { get; set; }
        /// <summary>
        /// 操作类别
        /// </summary>
        public string Operation { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public string WareHouse { get; set; }
        /// <summary>
        /// 库位
        /// </summary>
        public string StockPos { get; set; }
        /// <summary>
        /// 记账时间
        /// </summary>
        public DateTime AccountingTime { get; set; }
        /// <summary>
        /// 关联主单号
        /// </summary>
        public string AssociatedFormId { get; set; }
        /// <summary>
        /// 单据类型
        /// </summary>
        public string FormName { get; set; }
        public string AssociatedBusinessFormId { get; set; }
        #region Product Info
        public string ItemCode { get; set; }
        public string Catagory1 { get; set; }
        public string Catagory2 { get; set; }
        public string Catagory3 { get; set; }
        public string ItemName { get; set; }
        public string ModelNo { get; set; }
        public string Spec { get; set; }
        public string Unit { get; set; }
        #endregion

        #region Currency and Quatity
        public double RealPrice { get; set; }
        public double PriceWithTax { get; set; }
        public double Amount { get; set; }
        public double AmountWithTax { get; set; }
        public double Qty { get; set; }

        #endregion

        #region 供应商和客户
        public string SupplierName { get; set; }
        public string SupplierCode { get; set; }
        public string BuyerName { get; set; }
        public string BuyerCode { get; set; }
        #endregion
    }
}
